package com.itheima.dao.impl;

import com.itheima.dao.UserDao;
import org.springframework.stereotype.Repository;

@Repository
public class UserDaoImpl implements UserDao {
    @Override
    public void save() {
        System.out.println("无参无返回值save");
    }

    @Override
    public void save(int id) {
        System.out.println("int参无返回值save");
    }

    @Override
    public int save(String name) {
        System.out.println("有参有返回值save");
        return 0;
    }

    @Override
    public void update() {
        System.out.println("修改方法");
    }
}
